package com.zhongke.cotrun.mapper;

import com.zhongke.cotrun.model.pojo.Research;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ResearchMapper {
@Select("SELECT `code` ,research_name from research WHERE state=0")
    public List<Research> selectAllResearch();
//@Select("SELECT research_name from research WHERE  `code` in(#{code}) ")

    /**
     * 查看研究方向的名字
     * @param code
     * @return
     */
    public String[] selectResearchName(String[] code);
}
